from django.contrib import admin
from django.urls import path

from apps.medicine.views import Search_Medicines, Send_medicines, Medicines_state, QRCode, JwtView, CheckJwt

app_name = 'medicine'
urlpatterns = [
    path('medicines/search/', Search_Medicines.as_view(), name='search_medicines'),
    path('doctor/', Send_medicines.as_view(), name='send_medicines'),
    path('state/', Medicines_state.as_view(), name='state_medicines'),
    path('qrcode/', QRCode.as_view(), name="qrcode"),
    path('jwt/', JwtView.as_view(), name="jwt"),
    path('get_medicines/', CheckJwt.as_view(), name="get_medicines"),
]
